import java.util.HashMap;
import java.util.Map;

/**
 * @author fun.pengzh
 * @class PACKAGE_NAME.UserDAO
 * @desc
 * @since 2021-09-25
 */
public class UserDAO {

    private static final Map<String, String> userInfoMap = new HashMap<>();

    static {
        userInfoMap.put("a", "aaaa");
        userInfoMap.put("c", "bbbb");
        userInfoMap.put("c", "cccc");
        userInfoMap.put("张三", "张三的个人信息");
    }

    public String query(String name) {
        return userInfoMap.get(name);
    }

}
